how to edit like a macro on contoller